package com.douya.middleware.property;

import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * elasticSearch配置参数
 *
 * @Author hcy
 * @Date 2022/11/28
 */
@Data
@Accessors(chain = true)
public class ElasticSearchProperties {

    /**
     * elasticSearch地址
     */
    private String url;

    /**
     * elasticSearch端口
     */
    private String port;

    /**
     * elasticSearch账号
     */
    private String username;

    /**
     * elasticSearch密码
     */
    private String password;

}
